<template>
    <div class="shop-recom-container">
      <div class="shop-recom-container-c" v-for="item in shops" :key="item.id">
        <img :src="item.img" alt="">
        <div>
          <h1>{{ item.name }}</h1>
          <h2>{{ item.content }}</h2>
          <h3>￥{{ item.price }}</h3>
        </div>
      </div>
    </div>
</template>

<script>
export default {
  name: 'ShopRecom',
  props: ['shops']
}
</script>

<style scoped lang="less">
  .shop-recom-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: .86rem;
    box-sizing: border-box;
  }
.shop-recom-container-c{
  width: 49%;
  height: 4.62rem;
  img{
    width: 100%;
    height: 3.14rem;
  }
  div{
    width: 90%;
    height: .96rem;
    margin: .22rem auto 0;
    h1{
      font-size: .28rem;
      color: #212121;
    }
    h2{
      font-size: .2rem;
      color: #757575;
    }
    h3{
      color: #EA625B;
    }
  }
}
</style>
